package jiang.app.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * 权限
 * @author Administrator
 *
 */
public class Permission {

	long permissionId;
	String permission;
	Set<Role> roles = new HashSet<Role>();

	public long getPermissionId() {
		return permissionId;
	}

	public void setPermissionId(long permissionId) {
		this.permissionId = permissionId;
	}

	public String getPermission() {
		return this.permission;
	}

	public void setPermission(String permission) {
		this.permission = permission;
	}

	public Set<Role> getRoles() {
		return roles;
	}

	public void setRoles(Set<Role> roles) {
		this.roles = roles;
	}

}